/* * @Author: maybe   
* @Date: 2019-06-25 15:11:15  
* */
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'      //vuex状态管理
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import i18n from './assets/i18n' // 多元插件
import './assets/css/base.css'   // 公共的css样式
import filter from './filter'
import md5 from 'js-md5'
// import Cookies from "js-cookie"  // 采用封装的好的js-Cookie; 单页面引用吧，


Vue.prototype.$md5 = md5;
Vue.config.productionTip = false;
// Vue.prototype.Cookies = Cookies 
// 全局导入过滤器

Object.keys(filter).forEach(key => Vue.filter(key,filter[key]));
Vue.use(ElementUI);
new Vue({
  el: '#app',
  router,
  i18n,
  store,
  components: { App },
  template: '<App/>'
})
